package com.taiyuan.ty.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : 周桓宇
 * @description :
 * @createDate : 2025/3/26 上午10:56
 */
@Data
@TableName("comments")
public class Comment implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("place_id")
    private Long placeId;

    @TableField("user_id")
    private Long userId;

    @TableField("content")
    private String content;

    @TableField("createTime")
    private Date createTime;
}

